package com.jams.goodox.entity;

import com.jams.goodox.utils.StringUtils;

import java.io.Serializable;

/**
 * Created by jams on 2016/8/23.
 * ***
 * Tel: ***
 */

public class RedPacket implements Serializable{
    private String community;
    private String exchange;
    private String money;
    private String redPacketId;
    private String redPacketType;
    private String redPacketTypeName;
    private String serviceName;
    private String subCommunityId;
    private String validDate;

    public String getCommunity() {
        return community;
    }

    public void setCommunity(String community) {
        this.community = community;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public Double getMoney() {
        return StringUtils.toDouble(money);
    }

    public void setMoney(Double money) {
        this.money = StringUtils.doubleToString(money);
    }

    public String getRedPacketId() {
        return redPacketId;
    }

    public void setRedPacketId(String redPacketId) {
        this.redPacketId = redPacketId;
    }

    public String getRedPacketType() {
        return redPacketType;
    }

    public void setRedPacketType(String redPacketType) {
        this.redPacketType = redPacketType;
    }

    public String getRedPacketTypeName() {
        return redPacketTypeName;
    }

    public void setRedPacketTypeName(String redPacketTypeName) {
        this.redPacketTypeName = redPacketTypeName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getSubCommunityId() {
        return subCommunityId;
    }

    public void setSubCommunityId(String subCommunityId) {
        this.subCommunityId = subCommunityId;
    }

    public String getValidDate() {
        return validDate;
    }

    public void setValidDate(String validDate) {
        this.validDate = validDate;
    }
}
